$colorHui: rgb(247, 248, 250);
$fontColor: #36464B;
$fontColor999: #999;
$backColor: #3B4059;
$borderColorE: #eee;
$colorBlue: #1F81D2;
$colorRed: #E0262B;

.newsBank {
  padding: 15px;
}

.newsBankTitle {
  height: 45px;
  line-height: 45px;
  background: $colorHui;
  padding: 0 15px;
  color: $fontColor999;
  border-radius: 2px;
}

.newsBankSection {
  padding: 15px;
  position: relative;
  overflow: visible;
  .secBack {
    position: absolute;
    top: 13px;
    right: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    a {
      font-size: 14px;
      color: $fontColor;
      display: block;
      padding: 0 15px;
      span {
        margin-right: 5px;
      }
    }
    &:hover {
      background: $backColor;
      border: 1px solid $backColor;
      a {
        color: #fff;
      }
    }
  }
}

//body .ivu-select-single .ivu-select-selection .ivu-select-selected-value {
//  height: 45px;
//  line-height: 45px;
//}

.chooseBank {
  border: 1px solid $borderColorE;
  border-radius: 3px;
  margin-bottom: 15px;
}

.chooseLeft {
  background: rgba(247, 248, 250, 1);
  width: 180px;
  min-height: 180px;
  padding: 15px;
  text-align: center;
  section {
    &:first-child {
      color: #999;
      font-size: 20px;
      line-height: 30px;
    }
  }
}

.chooseRight {
  flex: 1;
  padding: 15px 25px;
  position: relative;
  aside {
    font-size: 14px;
    color: $colorBlue;
    line-height: 24px;
    margin-bottom: 15px;
  }
}

.rwmImgWx {
  width: 400px;
  position: absolute;
  top: 0;
  right: 0;
  padding: 15px;
}

.rwmMaster {
  width: 180px;
  height: 180px;
  background: #fff;
  position: absolute;
  top: 31px;
  right: 194px;
}

.chooseArticle {
  section {
    width: 25%;
    float: left;
    //text-align: center;
    &:hover {
      cursor: pointer;
    }
  }
  .cardSelect {
    .chooseSection {
      border: 1px solid $colorBlue;
    }
  }
}

.chooseSection {
  width: 195px;
  height: 30px;
  line-height: 30px;
  border: 1px solid $borderColorE;
  display: inline-table;
  border-radius: 3px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  p {
    float: left;
    img {
      width: 28px;
      margin: 1px 2px 0 0;
    }
  }
}

.chooseSection {
  padding: 10px;
  margin-bottom: 15px;
}

.cardAccoutEd {
  width: 345px;
  height: 166px;
  border: 1px solid $borderColorE;
  border-radius: 3px;
  margin-bottom: 10px;
  aside {
    padding: 10px;
    border-bottom: 1px solid $borderColorE;
    img {
      width: auto;
      height: 50px;
      display: inline-block;
      vertical-align: middle;
      margin-right: 18px;
    }
    span {
      line-height: 50px;
      display: inline-block;
      height: 50px;
      font-weight: 600;
      font-size: 24px;
      color: #36464B;
    }
  }
  section {
    padding: 0 10px;
    p {
      color: $colorBlue;
      font-size: 14px;
      line-height: 30px;
      padding: 0 5px;
      cursor: pointer;
      :first-of-type {
        font-size: 18px;
        color: rgb(224, 138, 66);
        strong {
          margin-right: 15px;
        }
      }
      &.name {
        color: #999;
        strong, a {
          color: $fontColor;
          font-size: 14px;
        }
        a {
          color: $colorBlue;
          &:hover {
            text-decoration: underline;
          }
        }
      }
      &:hover {
        background-color: #f7f8fa;
      }
    }
  }
}

.fillInText {
  font-size: 14px;
  color: #999;
  line-height: 30px;
  span {
    color: $colorRed;
  }
  a {
    color: $colorBlue;
  }
}

.fillInCard {
  ul {
    li {
      margin-bottom: 15px;
      font-size: 14px;
      color: #999;
      line-height: 40px;
      p {
        float: left;
        &:first-of-type {
          width: 120px;
          text-align: right;
        }
        input {
          width: 300px;
          height: 40px;
          line-height: 40px;
          border: 1px solid $borderColorE;
          border-radius: 3px;
          text-indent: 10px;
        }
      }
    }
  }
}

.fillInBtn {
  height: 44px;
  line-height: 44px;
  border-radius: 3px;
  display: inline-table;
  margin: 10px 0 35px 120px;
  a {
    display: block;
    background: #ccc;
    color: #fff;
    padding: 0 20px;
    &:hover {
      background: $colorRed;
    }
  }
}

.wyPay, .wxPay {
  padding: 0 80px;
}

/*弹出框*/
.cardPopup {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  background: rgba(0, 0, 0, 0.35);
  .cardPopupMain {
    width: 100%;
    height: 100%;
    position: relative;
  }
}

.popupCardPay {
  width: 600px;
  //height: 309px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -154.5px;
  margin-left: -300px;
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(40, 131, 180, 0.15);
  padding: 15px 30px;
}

.popupAside {
  font-size: 24px;
  color: #333333;
  letter-spacing: 0;
  line-height: 24px;
  padding: 15px 0;
  border-bottom: 1px solid $borderColorE;
  p {
    float: right;
    font-size: 16px;
    color: #B2B9BE;
    cursor: pointer;
  }
}

.popupCardText {
  padding-top: 15px;
  line-height: 30px;
  height: 110px;
}

.popupSection {
  .popupCardText {
    aside {
      font-size: 14px;
      text-align: left;
      color: $colorBlue;
      font-weight: 600;
      margin-bottom: 12px;
    }
  }
  .ewmInfoBox {
    padding-top: 15px;
    margin-right:20px;
    margin-left:10px;
    overflow: visible;
    .money {
      font-size: 14px;
      color: #36464B;
      text-align: center;
      line-height: 30px;
      font-weight:600;
      span {
        color: #D43B3B;
      }
    }
    .ewmMessBox{
      background: url("../../../assets/images/personal/topUp/ewm_bg.png") center top no-repeat,#FFFFFF;
      background-size: 100% 100%;
      padding:3px 8px 0;
      margin-top: 6px;
    }
    .ewmBox {
      width: 120px;
      padding: 0 0 10px;
      //margin-top: 6px;
      overflow: visible;
      margin-bottom:10px;
      .canvas {
        width: 120px !important;
        height: 120px !important;
      }
      .titleInfo{
        padding:0 10px;
        margin-top:-5px;
        p{
          text-align: center;
          background: #F36A6B;
          border-radius: 2px;
          height: 20px;
          line-height:20px;
          font-size: 10px;
          color: #FFFFFF;
        }
      }
    }
  }
}

.popupBtn {
  text-align: center;
  margin-top:15px;
  p {
    display: inline-table;
    background: $colorRed;
    border: 1px solid $colorRed;
    border-radius: 4px;
    line-height: 42px;
    margin: 0 5px;
    a {
      color: #fff;
      padding: 0 20px;
    }
    &:first-of-type {
      background: transparent;
      border: 1px solid #ccc;
      a {
        color: $fontColor;
      }
    }
  }
}

.popupCardTrue {
  width: 600px;
  height: 409px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -204.5px;
  margin-left: -300px;
  padding: 15px 25px;
}

.popupAmountEd {
  font-size: 14px;
  color: #666;
  line-height: 40px;
  padding: 20px 0;
  ul li {
    padding: 5px 0;
    p {
      &:first-of-type {
        width: 200px;
        text-align: right;
      }
      &:last-of-type {
        font-size: 30px;
        font-family: Arial;
      }
      &.red {
        color: $colorRed;
      }
    }
  }
}

.popupBackText {
  line-height: 30px;
  padding: 10px;
  background: #f2f2f2;
  text-align: center;
  margin-bottom: 20px;
  p {
    color: $fontColor;
    font-size: 12px;
  }
}

body .chooseSection .ivu-radio-wrapper {
  top: -2px;
  margin-right: 0;
}

body .fillInCard .ivu-input {
  height: 40px;
  line-height: 40px;
  font-size: 14px;
}
